//类当接口使用
class Point{
    x:number
    y:number
}
interface Point3d extends Point{
    z:number
}
let Point3d:Point3d = {x:1,y:2,z:3}